package com.kimstore.dao;

import com.kimstore.bean.Customer;
import java.util.List;

public interface CustomerDao extends GenericJpaDao<Customer, Integer> {

    Customer findByName(String name);

    boolean existsName(String name);
    
    List<Customer> findAll(int startIndex, int maxNumber);
    
    long count();
}
